<?php
use app\framework\Server;
ini_set("xdebug.max_nesting_level",512);
require __DIR__ . '/../vendor/autoload.php';
date_default_timezone_set('Asia/Shanghai');
defined("ROOT_PATH") or define("ROOT_PATH",getcwd());
$config =require_once ROOT_PATH."/config/config.php";
require ROOT_PATH."/helper/function.php";
require ROOT_PATH."/console.php";
Server::run($config);